package com.light.dp.flink.config.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TableMapping implements Serializable {
    private String sourceTable;
    private String targetTable;
    private List<ColumnMapping> columnMappings;

    public TableMapping(String sourceTable, String targetTable, List<ColumnMapping> columnMappings) {
        this.sourceTable = sourceTable;
        this.targetTable = targetTable;
        this.columnMappings = columnMappings;
    }
}